package com.scalar.chiptrack.commons;



public class Location implements java.io.Serializable {

  // ----------------------------------------------------- Instance Variables
  private int locationId = -1;
  private int addressId = -1;
  private int vendorId = -1;
  private String contactPerson = null;
  private String locationType = null;
  private String vendorName = null;
  private boolean isDeleted = false;
  private String locationName = null; 
  private boolean isCancel = false;
  private String remove = null;

  private Address locationAddress = new Address();


  /**
   * Default Constructor
   *
   */
  public Location() {

  }

 /**
   * Constructor
   *
   */
  public Location(int locationId, int addressId, int vendorId, String contactPerson,
  			String locationType, String vendorName, boolean isCancel)
  {
		this.locationId = locationId;
		this.addressId = addressId;
		this.vendorId = vendorId;
		this.contactPerson = contactPerson;
		this.locationType = locationType;
		this.vendorName = vendorName;
        
        this.isCancel = isCancel;
  }



  /**
   * Get locationId
   *
   * @return locationId
   */
  public int getLocationId()
  {
	return locationId;
  }

  /**
   * Set the locationId
   *
   * @param locationId
   */
  public void setLocationId(int locationId)
  {
	this.locationId = locationId;
  }

  
  /**
   * Get locationName
   *
   * @return locationName
   */
  public String getLocationName()
  {
	return locationName;
  }

  /**
   * Set the locationName
   *
   * @param locationName
   */
  public void setLocationName(String locationName)
  {
	this.locationName = locationName;
  }	





  /**
   * Get addressId
   *
   * @return addressId
   */
  public int getAddressId()
  {
	return addressId;
  }

  /**
   * Set the addressId
   *
   * @param addressId
   */
  public void setAddressId(int addressId)
  {
	this.addressId = addressId;
  }


  /**
   * Get vendorId
   *
   * @return vendorId
   */
  public int getVendorId()
  {
	return vendorId;
  }


  /**
   * Set the vendorId
   *
   * @param vendorId
   */
  public void setVendorId(int vendorId)
  {
	this.vendorId = vendorId;
  }


  /**
   * Get contactPerson
   *
   * @return contactPerson
   */
  public String getContactPerson()
  {
	  return contactPerson;
  }

  /**
   * Set the contactPerson
   *
   * @param contactPerson
   */
  public void setContactPerson(String contactPerson)
  {
	this.contactPerson = contactPerson;
  }


  /**
   * Get locationType
   *
   * @return locationType
   */
  public String getLocationType()
  {
	return locationType;
  }

  /**
   * Set the locationType
   *
   * @param locationType
   */
  public void setLocationType(String locationType)
  {
	this.locationType = locationType;
  }


  /**
   * Get vendorName
   *
   * @return vendorName
   */
  public String getVendorName()
  {
	  return vendorName;
  }

  /**
   * Set the vendorName
   *
   * @param vendorName
   */
  public void setVendorName(String vendorName)
  {
	this.vendorName = vendorName;
  }


  /**
   * Get locationAddress
   *
   * @return locationAddress
   */
  public Address getLocationAddress()
  {
    return locationAddress;
  }

  /**
   * Set the locationAddress
   *
   * @param locationAddress
   */
  public void setLocationAddress(Address locationAddress)
  {
 		this.locationAddress = locationAddress;
  }

  /**
   * Get IsCancel
   * 
   * @return isCancel
   */
  public boolean isCancel()
  {
      return isCancel;
  }
  
  /**
   * Set the IsCancel
   * 
   * @param isCancel
   */
  public void setIsCancel(boolean isCancel)
  {
      this.isCancel = isCancel;
  }
  public String getRemove()
  {
      return remove;
  }
  
  public void setRemove(String remove)
  {
      this.remove = remove;
  }
  
}